aboutsummaryrefslogtreecommitdiffstats
path: root/xz-java [disowned]/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'xz-java [disowned]/PKGBUILD')
-rw-r--r--xz-java [disowned]/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/xz-java [disowned]/PKGBUILD b/xz-java [disowned]/PKGBUILD
new file mode 100644
index 0000000..56993be
--- /dev/null
+++ b/xz-java [disowned]/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+pkgname=xz-java
+pkgver=1.5
+pkgrel=1
+pkgdesc="Java library for XZ and LZMA compression"
+arch=('any')
+url="http://tukaani.org/xz/java.html"
+license=('Public Domain')
+depends=('java-runtime>=1.4')
+makedepends=('java-environment>=1.4', 'unzip')
+provides=('xz-java')
+conflicts=('xz-java')
+source=(http://tukaani.org/xz/xz-java-$pkgver.zip)
+sha256sums=(0146e437b01ac77046d256a2e7537768b6922c49635c27fa40b3cf745bb2db74)
+
+build() {
+ cd "$srcdir"
+ javac -source 1.4 -target 1.4 -d . -s src -cp . $(find src | grep \\.java\$)
+ jar -cf xz-java.jar $(find . | grep \\.class\$)
+}
+
+package() {
+ cd "$srcdir"
+ install -d "$pkgdir/usr/lib/"
+ install -m 755 xz-java.jar "$pkgdir/usr/lib/"
+}